<!DOCTYPE html>
<html dir="ltr" lang="zh-CN">
<!--<![endif]-->
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title></title>
    <link rel="profile" href="http://gmpg.org/xfn/11" />
    <link href="@Url.Content("~/Content/themes/base/style.css")" rel="stylesheet" type="text/css" media="all"  />
    <link rel='stylesheet' id='admin-bar-css'  href='@Url.Content("~/Content/themes/base/admin-bar.css")' type='text/css' media='all' />
    <script type='text/javascript' src='@Url.Content("~/Content/javascripts/l10n.js")'></script>
    <link rel='index' title='@ProviderAFactory.SiteMetaData["site-title"]' href='@Url.Content("~/")' />
    <style type="text/css" media="print">
        #wpadminbar
        {
            display: none;
        }
    </style>
    <style type="text/css" media="screen">
        html
        {
            margin-top: 28px !important;
        }
        * html body
        {
            margin-top: 28px !important;
        }
    </style>
    <style type='text/css'>
        #wpadminbar .quicklinks li#wp-admin-bar-stats
        {
            height: 28px;
        }
        #wpadminbar .quicklinks li#wp-admin-bar-stats a
        {
            height: 28px;
            padding: 0;
        }
        #wpadminbar .quicklinks li#wp-admin-bar-stats a img
        {
            padding: 4px 11px;
        }
    </style>
    @RenderSection("Header", false)
</head>
<body class="home blog logged-in admin-bar single-author two-column right-sidebar">
    <div id="page" class="hfeed">
        <header id="branding" role="banner">
            <hgroup>
                <h1 id="site-title">
                    <span><a href="@Url.Content("~/")" title="@ProviderAFactory.SiteMetaData["site-title"]" rel="home">@ProviderAFactory.SiteMetaData["site-title"]</a></span></h1>
                <h2 id="site-description">@ProviderAFactory.SiteMetaData["site-description"]</h2>
            </hgroup>
            <a href="@Url.Content("~/")">
                <img src="@ProviderAFactory.SiteMetaData["site-picture"]" width="1000" height="288" alt="" />
            </a>
            <form method="get" id="searchform" action="@Url.Content("~/Post/Search")">
            <label for="s" class="assistive-text">
                搜索</label>
            <input type="text" class="field" name="Keyword" id="s" placeholder="搜索" />
            <input type="submit" class="submit" id="searchsubmit" />
            </form>
            <nav id="access" role="navigation">
                <h3 class="assistive-text">
                    主菜单</h3>
                <div class="skip-link">
                    <a class="assistive-text" href="#content" title="跳至主内容区域">跳至主内容区域</a></div>
                <div class="skip-link">
                    <a class="assistive-text" href="#secondary" title="跳至副内容区域">跳至副内容区域</a></div>
                <div class="menu">
                    <ul>
                        <li class="current_page_item"><a href="/" title="首页">
                            首页</a></li></ul>
                </div>
            </nav>
            <!-- #access -->
        </header><!-- #branding -->
        <div id="main">
            <div id="primary">
                <div id="content" role="main"
                @if(ViewBag.ShowSidebar=="false")
                {
                    @:style="width:auto;margin:0 7.6%"
                }
                >
                    @RenderBody()
                </div>
                <!-- #content -->
            </div>
            <!-- #primary -->
            @if (ViewBag.ShowSidebar != "false")
            {
            <div id="secondary" class="widget-area" role="complementary">
            </div>
            }
            <!-- #secondary .widget-area -->
        </div>
        <!-- #main -->
        <footer id="colophon" role="contentinfo">
            <div id="site-generator">
                <a href="http://se.sjtu.edu.cn/" title="优雅的个人发布平台" rel="generator">Fantasy Blog</a>
            </div>
        </footer><!-- #colophon -->
    </div>
    <!-- #page -->
    @Html.Partial("_LogOnPartial")
</body>
</html>
